﻿using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStudio.Utilities;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

namespace PC.PickleJar.Trello.VisualStudio
{
	[Export(typeof(IQuickInfoSourceProvider))]
	[Name("Trello ToolTip QuickInfo Source")]
	[Order(Before = "Default Quick Info Presenter")]
	[ContentType("code")]
	internal class QuickInfoSourceProvider : IQuickInfoSourceProvider
	{
		public IQuickInfoSource TryCreateQuickInfoSource(Microsoft.VisualStudio.Text.ITextBuffer textBuffer)
		{
			return new QuickInfoSource(this, textBuffer);
		}

		[Import]
		internal ITextStructureNavigatorSelectorService NavigatorService
		{
			get;
			set;
		}

		[Import]
		internal ITextBufferFactoryService TextBufferFactoryService
		{
			get;
			set;
		}
	}
}
